package com.csun.cmny.provider.device.relay;

import com.csun.cmny.provider.netty.server.Constant;
import com.csun.cmny.provider.netty.server.NettyServer;
import io.netty.bootstrap.AbstractBootstrap;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.ChannelOption;
import io.netty.channel.ServerChannel;

/**
 * 网络中继器 netty server 主程序
 *
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-08-22 20:24
 * @Description: the class relay netty tcp server
 */
public class RelayNettyTcpServer extends NettyServer {

    public RelayNettyTcpServer(int port, ChannelInitializer channelInitializer, ServerBootstrap serverBootstrap) {
        super(port, Constant.SOCK_STREAM, channelInitializer, serverBootstrap, null);
    }
}
